package com.zzedu.dto.subject;


public class BaseContentDTO {
    /**
     * 是否学习
     * yes:是
     * false: 否
     */
    private boolean isStudy = false;

    /**
     * isStudy=true时，返回
     * 题目内容[原始内容]
     */
    private String subjectContent;
    /**
     * isStudy=true时，返回
     * 题目展示内容[逻辑处理后的内容]
     */
    private String content;
    /**
     * isStudy=true时，返回
     * 班级ID
     */
    private Long clzzId;
    /**
     * isStudy=true时，返回
     * 答案
     * 选择题:{"answer":"选项ID"}
     * <p>
     * 拼词题: {"answer":Dog}
     * <p>
     * 连线题: {"answer":[left1-right1,left2-right2]}
     * <p>
     * 配音题:{"answer":[{"examId":"题目文件ID","uploadId":"上传文件ID"}]}
     * <p>
     * 看视频、听音拼:{"answer":[{"examId":"文件ID"}....]}
     * <p>
     * 填空题:{"answer":[{"text":"答案"}.....]}
     */
    private String answer;

    public boolean getIsStudy() {
        return isStudy;
    }

    public void setIsStudy(boolean study) {
        isStudy = study;
    }

    public String getSubjectContent() {
        return subjectContent;
    }

    public void setSubjectContent(String subjectContent) {
        this.subjectContent = subjectContent;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getClzzId() {
        return clzzId;
    }

    public void setClzzId(Long clzzId) {
        this.clzzId = clzzId;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }
}
